github.com/klauspost/compress/gzip.Writer.buf (field)
21 uses
github.com/klauspost/compress/gzip (current package)
gzip.go#L46: buf [10]byte
gzip.go#L129: le.PutUint16(z.buf[:2], uint16(len(b)))
gzip.go#L130: _, err := z.w.Write(z.buf[:2])
gzip.go#L164: z.buf[0] = 0
gzip.go#L165: _, err = z.w.Write(z.buf[:1])
gzip.go#L179: z.buf[0] = gzipID1
gzip.go#L180: z.buf[1] = gzipID2
gzip.go#L181: z.buf[2] = gzipDeflate
gzip.go#L182: z.buf[3] = 0
gzip.go#L184: z.buf[3] |= 0x04
gzip.go#L187: z.buf[3] |= 0x08
gzip.go#L190: z.buf[3] |= 0x10
gzip.go#L192: le.PutUint32(z.buf[4:8], uint32(z.ModTime.Unix()))
gzip.go#L194: z.buf[8] = 2
gzip.go#L196: z.buf[8] = 4
gzip.go#L198: z.buf[8] = 0
gzip.go#L200: z.buf[9] = z.OS
gzip.go#L201: n, z.err = z.w.Write(z.buf[:10])
gzip.go#L286: le.PutUint32(z.buf[:4], z.digest)
gzip.go#L287: le.PutUint32(z.buf[4:8], z.size)
gzip.go#L288: _, z.err = z.w.Write(z.buf[:8])
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |